﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="HR_ctrEmpHeader_Info.ascx.cs" Inherits="vHCS.K2App.MdlK2.Controls.HR_ctrEmpHeader_Info" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

    <div class="div6Column">
        <div class="label">
                <asp:Label ID="lblEmpcode" runat="server" Text="Mã nhân viên"></asp:Label>
        </div>
        <div class="control">
           <asp:TextBox ID="txtEmpCode" runat="server" Enabled="true" Width="100%" 
                CssClass="inputReadOnly" ReadOnly="true"></asp:TextBox>             
        </div>
        <div class="label">
                <asp:Label ID="lblUsername" runat="server" Text="Họ tên"></asp:Label>
        </div> 
        <div class="control">
            <asp:TextBox ID="txtFullName" runat="server" Enabled="true" ReadOnly="true" 
                Width="100%" CssClass="inputReadOnly"></asp:TextBox>            
        </div>
        <div class="label"><asp:Label ID="Label1" runat="server" Text="Tên đăng nhập"></asp:Label></div>
        <div class="controlLast">
            <asp:TextBox ID="txtUserName" Width="98%" runat="server" ReadOnly="true" 
                Enabled="true" CssClass="inputReadOnly"></asp:TextBox>
        </div>        
    </div>
    <div class="divClear"></div>

    <div class="div6Column">
           <div class="label">
                <asp:Label ID="lblOrgchart" runat="server" Text="Cơ cấu tổ chức"></asp:Label>
           </div>
           <div class="div5Colum">
                <asp:TextBox ID="txtOrgchart"  Width="99.5%" runat="server"  Enabled="true" ReadOnly="true" 
                    CssClass="inputReadOnly"></asp:TextBox>
           </div>
    </div>
    <div class="divClear"></div>
     
<div id="advancedSearch" style="width:100%; display:block" >
    <div class="div6Column">
        <div class="label"><asp:Label ID="lblCareerChart" runat="server" Text="Cơ cấu chuyên môn"></asp:Label></div>
        <div class="div5Colum"><asp:TextBox ID="txtProJob" runat="server" Enabled="true" 
                ReadOnly="true"  Width="99.5%" CssClass="inputReadOnly"></asp:TextBox></div>
    </div>
    <div class="divClear"></div>
    <div class="div6Column">
        <div class="label"><asp:Label ID="Label2" runat="server" Text="Cơ cấu quản lý"></asp:Label></div>
        <div class="div5Colum"><asp:TextBox ID="txtMgtJob" runat="server" Enabled="true" 
                ReadOnly="true" Width="99.5%" CssClass="inputReadOnly"></asp:TextBox></div>
    </div>
    <div class="divClear"></div>
    <div class="div6Column">
        <div class="label"><asp:Label ID="lblEmp" runat="server" Text="Loại nhân viên" ></asp:Label></div>
        <div class="control"><asp:TextBox ID="txtEmptype" runat="server" 
                CssClass="inputReadOnly"  ReadOnly="true" Width="100%"></asp:TextBox></div>
        <div class="label"><asp:Label ID="lblContractType" runat="server" Text="Loại hợp đồng"></asp:Label></div>
        <div class="control"><asp:TextBox ID="txtContractType" runat="server" 
                CssClass="inputReadOnly" ReadOnly="true" Width="100%"></asp:TextBox></div>
        <div class="label"><asp:Label ID="lbllocation" runat="server" Text="Văn phòng làm việc"></asp:Label></div>
        <div class="controlLast"><asp:TextBox ID="txtWorkingPlace" runat="server" 
                CssClass="inputReadOnly" ReadOnly="true" Width="98%" ></asp:TextBox></div>
    </div>
    <div class="divClear"></div>

    <div class="div6Column">
        <div class="label"><asp:Label ID="lblLevel" runat="server" Text="Cấp bậc"></asp:Label></div>
        <div class="control"><asp:TextBox ID="txtRankingLevel" runat="server" 
                CssClass="inputReadOnly" ReadOnly="true" Width="100%"></asp:TextBox></div>
        <div class="label"><asp:Label ID="lblJobtilte" runat="server" Text="Chức vụ"></asp:Label></div>
        <div class="control"><asp:TextBox ID="txtJobTitle" runat="server"  ReadOnly="true" 
                Width="100%" CssClass="inputReadOnly"></asp:TextBox></div>
        <div class="label"><asp:Label ID="lblReportFor" runat="server" Text="Báo cáo cho"></asp:Label></div>
        <div class="controlLast"><asp:TextBox ID="txtReportFor" runat="server" Text=""  Enabled="false" ReadOnly="true"
                CssClass="inputReadOnly" Width="98%" ></asp:TextBox></div>
    </div>
    <div class="divClear"></div>

    <div class="div6Column">
        <div class="label"><asp:Label ID="lblStartDate" runat="server" Text="Ngày vào công ty" Width="100%"></asp:Label></div>
        <div class="control"><asp:TextBox ID="txtJoinDate" runat="server" Enabled="true" 
                Width="100%" ReadOnly="true" CssClass="inputReadOnly"></asp:TextBox></div>
        <div class="label"><asp:Label ID="lblStatus" runat="server" Text="Tình trạng"></asp:Label></div>
        <div class="control">
             <asp:RadioButtonList Enabled="false"   ID="rbtTerminationStatus" runat="server" RepeatDirection="Horizontal">
                <asp:ListItem Value="1" Text="Hiện diện"></asp:ListItem>
                <asp:ListItem Value="0" Text="Nghỉ việc"></asp:ListItem>
            </asp:RadioButtonList>       
        </div>
        <div class="label">
                <asp:Label ID="lblbarcode" runat="server" Text="Barcode"></asp:Label>
        </div>
        <div class="controlLast">
                <asp:TextBox ID="txtBarcode1" runat="server" Enabled="true" ReadOnly="true" 
                    CssClass="inputReadOnly" Width="98%" ></asp:TextBox>
        </div>
        
    </div>
     <div class="divClear"></div>
</div>
<div class="divAdvanced">
   
    <div class="label">
        <asp:HyperLink ID="btnExpand" runat="server"  onclick='return collapser.showAdvance("1");' ToolTip="Click here to expand" CssClass="divCollapsed">Mở rộng</asp:HyperLink>
        <asp:HyperLink ID="btnCollapse" runat="server"  onclick='return collapser.hideAdvance("1");' ToolTip="Click here to collapse"  CssClass="divExpanded">Thu nhỏ</asp:HyperLink>
          <div style="display:none">
            <asp:TextBox ID="hdfAdvanceStatus" runat="server" Text="0"></asp:TextBox>
        </div>     
    </div>
    
    <div class="divClear"></div>
<asp:HiddenField ID="hdfEmployeeId" Value="" runat="server" />
<script type="text/javascript">
    var collapser = new CollapseExpand("<%=btnExpand.ClientID %>", "<%=btnCollapse.ClientID %>", "advancedSearch", "<%=hdfAdvanceStatus.ClientID %>");
    collapser.onInit();
  
</script>

</div>

<asp:HiddenField ID="hdfUsername" runat="server" />
<asp:HiddenField ID="hdfAutoLoad" Value="0" runat="server" />